<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    {include file="/layout/scriptload"}
    <title>公众号列表</title>
    <style>
        p{
            margin-bottom: 7px;
        }
    </style>
</head>
<body>
<div class="box">
    <!-- /.box-header -->
    <section class="content">
    <div class="box-body">
        <div class="col-lg-12 col-xs-12">
            <div class="small-box" style="background: #18bc9c;color: #ffffff;">
                <div class="inner">
                    <p style="font-size: 16px;font-weight: bold;">粉丝查重规则：</p>
                    <p>1丶粉丝数据实在特定日期进行采集数据，可能会存在一些误差。</p>
                    <p>2丶对比数据是将“昵称+性别+城市”做对比，数据可能存在误差。</p>
                    <p>3丶本方法只能作为参考使用。</p>
                </div>
                <div class="icon" style="margin-top: 15px;">
                    <i class="ion ion-pie-graph"></i>
                </div>
                <a href="#" class="small-box-footer"> Go <i class="fa fa-arrow-circle-down"></i></a>
            </div>
        </div>
        <form role="form">
            <div class="form-group col-md-7">
                <label><span style="color: red;margin-right: 5px;">*</span>原始ID1</label>
                <input type="text" id="ghid_1" class="form-control"  placeholder="请输入ghid...">
            </div>
            <div class="form-group col-md-7">
                <label><span style="color: red;margin-right: 5px;">*</span>原始ID2</label>
                <input type="text" id="ghid_2" class="form-control"  placeholder="请输入ghid...">
            </div>
            <div class="form-group col-md-7" >
                <div id="btn_con" class="btn bg-aqua pull-right">对比查重</div>
            </div>
        </form>
    </div>
    <!-- /.box-body -->
    </section>
</div>
</body>
<script>
    $(function(){
        $('#btn_con').click(function(){
            var _ghid1 = $('#ghid_1').val();
            var _ghid2 = $('#ghid_2').val();
            $.ajax({
                type: 'post',
                cache: false,
                url:'{:url("admin/fans/contrastInfo")}',
                data: {ghid1:_ghid1,ghid2:_ghid2},
                success: function(data) {
                    if (data.code == "0") {
                        layerAlert(data.msg,function(){
                            parent.relist();
                            layerParentClose();
                        })
                    }else{
                        layerAlert(data.msg);
                    }
                }
            })
        })
    })
</script>
</html>